package com.orphan.audit.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *供应商退货商品信息
 * @author yichen
 * @since 2021-07-14
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_supplierreturn_commodity")
public class SupplierReturnCommodity extends Model {

    private static final long serialVersionUID = 1L;
    @TableId(value = "t_id", type = IdType.AUTO)
    private Integer tId;
    @TableField("t_goodsName")
    private Integer tFkId;

    private Integer goodsId;

    private String goodsName;

    private Integer goodsNum;

    private String type;

    private Float price;

    private String size;
    //对应的供应商订单信息
    @TableField(exist = false)
    private SupplierReturnAudit supplierReturnAudit;

}
